﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020002D3 RID: 723
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueUpdateUnlockLevelScNotify : IMessage<ChessRogueUpdateUnlockLevelScNotify>, IMessage, IEquatable<ChessRogueUpdateUnlockLevelScNotify>, IDeepCloneable<ChessRogueUpdateUnlockLevelScNotify>, IBufferMessage
	{
		// Token: 0x1700095F RID: 2399
		// (get) Token: 0x06002058 RID: 8280 RVA: 0x0005BC65 File Offset: 0x00059E65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueUpdateUnlockLevelScNotify> Parser
		{
			get
			{
				return ChessRogueUpdateUnlockLevelScNotify._parser;
			}
		}

		// Token: 0x17000960 RID: 2400
		// (get) Token: 0x06002059 RID: 8281 RVA: 0x0005BC6C File Offset: 0x00059E6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueUpdateUnlockLevelScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000961 RID: 2401
		// (get) Token: 0x0600205A RID: 8282 RVA: 0x0005BC7E File Offset: 0x00059E7E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueUpdateUnlockLevelScNotify.Descriptor;
			}
		}

		// Token: 0x0600205B RID: 8283 RVA: 0x0005BC85 File Offset: 0x00059E85
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueUpdateUnlockLevelScNotify()
		{
		}

		// Token: 0x0600205C RID: 8284 RVA: 0x0005BC98 File Offset: 0x00059E98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueUpdateUnlockLevelScNotify(ChessRogueUpdateUnlockLevelScNotify other) : this()
		{
			this.areaIdList_ = other.areaIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600205D RID: 8285 RVA: 0x0005BCC2 File Offset: 0x00059EC2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueUpdateUnlockLevelScNotify Clone()
		{
			return new ChessRogueUpdateUnlockLevelScNotify(this);
		}

		// Token: 0x17000962 RID: 2402
		// (get) Token: 0x0600205E RID: 8286 RVA: 0x0005BCCA File Offset: 0x00059ECA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> AreaIdList
		{
			get
			{
				return this.areaIdList_;
			}
		}

		// Token: 0x0600205F RID: 8287 RVA: 0x0005BCD2 File Offset: 0x00059ED2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueUpdateUnlockLevelScNotify);
		}

		// Token: 0x06002060 RID: 8288 RVA: 0x0005BCE0 File Offset: 0x00059EE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueUpdateUnlockLevelScNotify other)
		{
			return other != null && (other == this || (this.areaIdList_.Equals(other.areaIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002061 RID: 8289 RVA: 0x0005BD14 File Offset: 0x00059F14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.areaIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002062 RID: 8290 RVA: 0x0005BD48 File Offset: 0x00059F48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002063 RID: 8291 RVA: 0x0005BD50 File Offset: 0x00059F50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002064 RID: 8292 RVA: 0x0005BD59 File Offset: 0x00059F59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.areaIdList_.WriteTo(ref output, ChessRogueUpdateUnlockLevelScNotify._repeated_areaIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002065 RID: 8293 RVA: 0x0005BD80 File Offset: 0x00059F80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.areaIdList_.CalculateSize(ChessRogueUpdateUnlockLevelScNotify._repeated_areaIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002066 RID: 8294 RVA: 0x0005BDB9 File Offset: 0x00059FB9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueUpdateUnlockLevelScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.areaIdList_.Add(other.areaIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002067 RID: 8295 RVA: 0x0005BDE7 File Offset: 0x00059FE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002068 RID: 8296 RVA: 0x0005BDF0 File Offset: 0x00059FF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U && num != 74U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.areaIdList_.AddEntriesFrom(ref input, ChessRogueUpdateUnlockLevelScNotify._repeated_areaIdList_codec);
				}
			}
		}

		// Token: 0x04000D3D RID: 3389
		private static readonly MessageParser<ChessRogueUpdateUnlockLevelScNotify> _parser = new MessageParser<ChessRogueUpdateUnlockLevelScNotify>(() => new ChessRogueUpdateUnlockLevelScNotify());

		// Token: 0x04000D3E RID: 3390
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000D3F RID: 3391
		public const int AreaIdListFieldNumber = 9;

		// Token: 0x04000D40 RID: 3392
		private static readonly FieldCodec<uint> _repeated_areaIdList_codec = FieldCodec.ForUInt32(74U);

		// Token: 0x04000D41 RID: 3393
		private readonly RepeatedField<uint> areaIdList_ = new RepeatedField<uint>();
	}
}
